<!-- Яндекс.Директ -->
<div id="yandex_ad{{ index|default:"0" }}" class="container clearfix"></div>
<script type="text/javascript">
(function(w, d, n, s, t) {
    w[n] = w[n] || [];
    w[n].push(function() {
        Ya.Direct.insertInto(160954, "yandex_ad{{ index|default:"0" }}", {
            ad_format: "direct",
            stat_id: {{ index|default:"0" }},
            font_size: 1,
            type: "horizontal",
            limit: 3,
            title_font_size: 1,
            links_underline: false,
            site_bg_color: "FFFFFF",
            header_bg_color: "63905c",
            title_color: "174615",
            url_color: "006600",
            text_color: "174615",
            hover_color: "174615",
            favicon: true,
            no_sitelinks: true
        });
    });
    t = d.getElementsByTagName("script")[0];
    s = d.createElement("script");
    s.src = "//an.yandex.ru/system/context.js";
    s.type = "text/javascript";
    s.async = true;
    t.parentNode.insertBefore(s, t);
})(window, document, "yandex_context_callbacks");
</script>
